'use strict';

module.exports = appInfo => {
  const config = {};

  // should change to your own
  config.keys = appInfo.name + '_1493692716550_1349';
  config.view = {
    defaultViewEngine: 'nunjucks',
    mapping: {
      '.tpl': 'nunjucks',
    },
  }
  config.security = {
    csrf: false
  };
  config.app = {
    appID: "wx75d670707d4a4b7a",
    appSecret: "f2e2f18baa6be90e3189c6b76dc8aa03"
  }

  config.mysql = {
    client: {
      host: '106.15.125.213',
      user: 'devZCY',
      password: 'devZCY+1s',
      database: 'wechat',
      port: 8081

    },
    app: true,
    agent: false,
  }
  return config;
};
